package abstructfactory.service.factory.impl;

import abstructfactory.service.ChinaProductService;
import abstructfactory.service.USAProductService;
import abstructfactory.service.factory.AbstractFactory;
import abstructfactory.service.impl.ChinaAdidasShoeImpl;
import abstructfactory.service.impl.USANikeShoeImpl;

/**
 * @Author liangbaigao
 * @Date 2023/9/26 9:13
 */
public class ShoeFactory implements AbstractFactory {


    @Override
    public ChinaProductService getChinaProduct() {
        return new ChinaAdidasShoeImpl();
    }

    @Override
    public USAProductService getUSAProduct() {
        return new USANikeShoeImpl();
    }
}
